package com.yusys;

public class Main {

    public static void main(String[] args) {
        ArrayList<Person> persons = new ArrayList<>();
        persons.add(new Person(10, "jack"));
        persons.add(new Person(11, "tom"));
        persons.add(new Person(14, "jim"));
        System.out.println(persons);
        persons.clear();
        System.gc();
    }
}
